import request from '../utils/request'

export function addFeedBack (feedback) {
  return request({
    url: '/feedback/addFeedBack',
    method: 'post',
    params: feedback
  })
}

export function fetchList (query) {
  return request({
    url: '/feedback/getList',
    method: 'get',
    params: query
  })
}

export function delFeedBack (id) {
  return request({
    url: '/feedback/delFeedBack',
    method: 'post',
    params: id
  })
}
